<?php if (!empty($provincelist)) { ?>
<select  class="qqqun-tableselect" name="provinceid" id="provinceid">
<?php echo $provincelist?>
</select>
<?php } ?>
<select class="qqqun-tableselect"  name="cityid" id="cityid">
<?php if (!empty($citylist)) { ?>
<?php echo $citylist?>
<?php } ?>
</select>
<script>
$("#provinceid").change(function(){
	$.get('<?php echo site_url("module/commdata/region1/getCity")?>' + "/" + $(this).val(), function(d){$("#cityid").html(d)});
	$("#address").val($(this).find("option:selected").text());
});
$("#cityid").change(function(){
	$("#address").val($("#provinceid").find("option:selected").text() + $(this).find("option:selected").text());
});
</script>